<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class cuentam extends CI_Model {

    public function __construct() {
        $this->load->database();
    }

    public function obtenerRegistro($id_cuenta) {
        $query = "Select * from cuenta where id_cuenta='$id_cuenta'";
        return $this->db->query($query)->result();
    }

}